package org.xiyinjihe.platform.dto.resp;

import com.fasterxml.jackson.annotation.JsonInclude;
import org.xiyinjihe.platform.enums.ResponseStatus;

/**
 * Created by AnthonyPark on 2017/4/13.
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public abstract class BaseRespDTO {

    private ResponseStatus status = ResponseStatus.SUCCESS;
    private String errorCode;
    private String errorTitle;
    private String errorMsg;

    public ResponseStatus getStatus() {
        return status;
    }

    public void setStatus(ResponseStatus status) {
        this.status = status;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public String getErrorTitle() {
        return errorTitle;
    }

    public void setErrorTitle(String errorTitle) {
        this.errorTitle = errorTitle;
    }
}
